//
//  ViewController.h
//  myhuibao
//
//  Created by lijun on 13-2-4.
//  Copyright (c) 2013年 myhuibao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
#import <MapKit/MapKit.h>
#import "LeveyPopListView.h"
#import "ASIHTTPRequest.h"
#import "ASIFormDataRequest.h"
#import "DWTagList.h"
@interface HomeViewController : UIViewController<LeveyPopListViewDelegate,CLLocationManagerDelegate,MKReverseGeocoderDelegate,UITextFieldDelegate,UIScrollViewDelegate,UITableViewDataSource,UITableViewDelegate>
{
    CLLocationManager * locationManager;
    NSTimer *timer;
    NSMutableArray *arrayCity;
    bool isCityFinished;
    int cityId;
    NSString *downloadURL;
    bool isChecked;
    bool isCheckFinished;
    NSMutableArray *arrayAreaHotList;
    DWTagList *tagList;
    bool isAreaHotListFinished;
    UIWebView *phoneCallWebView;
    int count;
    NSMutableArray *tableDataArray;
    CGRect originvTicketFrame;
    CGRect originlbHotAreaFrame;
    CGRect originvHotAreaFrame;
    bool bRefreshTicket;
}
@property (unsafe_unretained) ASIHTTPRequest *reqCity;
@property (unsafe_unretained) ASIFormDataRequest *reqVersion;
@property (unsafe_unretained) ASIFormDataRequest *reqAreaHotList;
@property (strong, nonatomic) IBOutlet UILabel *lbCity;
//@property (strong, nonatomic) IBOutlet UIView *searchView;
@property (strong, nonatomic) IBOutlet UILabel *lbTips;
@property (strong, nonatomic) IBOutlet UIView *areaView;
//@property (strong, nonatomic) IBOutlet UITextField *edtKeyword;
//@property (strong, nonatomic) IBOutlet UIView *navView;
@property (assign) bool ischecked;
@property (strong, nonatomic) IBOutlet UIScrollView *svMain;
- (IBAction)showPromotion:(id)sender;
//- (IBAction)showHouse:(id)sender;
//- (IBAction)showRestaurant:(id)sender;
- (IBAction)showHot:(id)sender;
//- (IBAction)showLatest:(id)sender;
- (IBAction)showCity:(id)sender;
//- (IBAction)doKeywordSearch:(id)sender;
- (IBAction)doPhone:(id)sender;
- (IBAction)showRecommand:(id)sender;
- (IBAction)showCard:(id)sender;
@property (strong, nonatomic) IBOutlet UITableView *TicketTable;
@property (strong, nonatomic) IBOutlet UIView *vTicket;
@property (strong, nonatomic) IBOutlet UILabel *lbHotArea;
- (IBAction)ShowMoreTicket:(id)sender;



- (IBAction)showNear:(id)sender;
@end
